package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    Integer findCountByOrderDate(Date orderDate);

    void update(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<Map> getOrderSettingByMonth(String date);

    void editOrderSettingByDate(OrderSetting orderSetting);

    OrderSetting findOrderSettingByOrderDate(Date orderDate);

    void addOneReservation(OrderSetting orderSetting);
}
